<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\UserIntegralRecord
 *
 * @property int $id 自增id
 * @property int $user_id 用户标识
 * @property string $order_num 订单号
 * @property int $goods_id 商品id
 * @property string $goods_name 商品名称
 * @property int $integral 积分数量
 * @property string $remark 备注
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\UserIntegralRecord onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserIntegralRecord whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserIntegralRecord whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserIntegralRecord whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserIntegralRecord whereGoodsName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserIntegralRecord whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserIntegralRecord whereIntegral($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserIntegralRecord whereOrderNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserIntegralRecord whereRemark($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserIntegralRecord whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserIntegralRecord whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserIntegralRecord withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\UserIntegralRecord withoutTrashed()
 * @mixin \Eloquent
 * @property string|null $type common:常规购买 exchange:积分兑换
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserIntegralRecord whereType($value)
 * @property int $num 商品数量
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserIntegralRecord whereNum($value)
 */
class UserIntegralRecord extends Model
{
    protected $table='user_integral_record';
    use SoftDeletes;
}
